package controllers;

import java.util.ArrayList;
import java.util.List;

public class ServerComPack 
{
		private List<ClientServerCom> communicators;
		
		public ServerComPack()
		{
			this.communicators = new ArrayList<ClientServerCom>();
		}
		public ClientServerCom newServerCom(int nr)
		{
			this.communicators.add(nr, new ClientServerCom(nr));
			return this.communicators.get(nr);
		}
		public ClientServerCom getServerCom(int nr)
		{
			return this.communicators.get(nr);
		}

}
